# def house_value(all_house):
def house_value(*all_house):
    all_money = 0
    for money in all_house:
        all_money += money
    return all_money

if __name__ == '__main__':
    # m = house_value([300000, 704200, 576000])
    m = house_value(300000, 704200, 576000)
    print(m)